/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package icexam.exam;

/**
 *
 * @author Ethan
 */
public class Issue {
    private int qid;
    private String issue;
    private int questionType;
    private String[] answers;
    private int standardAnswerIndex;
    public int getQuestionType() {
        return questionType;
    }

    public void setQuestionType(int questionType) {
        this.questionType = questionType;
    }
    public String[] getAnswers() {
        return answers;
    }

    public void setAnswers(String[] answers) {
        this.answers = answers;
    }

    public int getQid() {
        return qid;
    }

    public void setQid(int qid) {
        this.qid = qid;
    }

    public int getStandardAnswerIndex() {
        return standardAnswerIndex;
    }

    public void setStandardAnswerIndex(int standardAnswerIndex) {
        this.standardAnswerIndex = standardAnswerIndex;
    }

    public String getIssue() {
        return issue;
    }

    public void setIssue(String title) {
        this.issue = title;
    }
    
    public static final int Questiong_Select = 0;
    public static final int question_Adjust = 1;
    public Issue(){

    }
    private int userSelIndex = -1;

    public int getUserSelIndex() {
        return userSelIndex;
    }

    public void setUserSelIndex(int userSelIndex) {
        this.userSelIndex = userSelIndex;
    }

    @Override
    public String toString() {
        return this.issue;
    }
    
    public Issue(int qid, String title, String[] answers, int questionType,int standardAnswerIndex) {
        this.qid = qid;
        this.issue = title;
        this.answers = answers;
        this.questionType = questionType;
        this.standardAnswerIndex = standardAnswerIndex;
    }

    
}
